#ifndef PLAY_H
#define PLAY_H

#include <sstream>
#include <SDL_ttf.h>

#include "../include/temel.h"
#include "../include/hero.h"
#include "../include/tugla.h"

class Play
{
    public:
        Play();
        virtual ~Play();
        void Execute();
        void getEvents();
        int Init();
        void RenderAll();
        void echo(TTF_Font* _font,char* _string,int x,int y,SDL_Color _color);
        void echo(TTF_Font* _font,int _sayi,int x,int y,SDL_Color _color);

    protected:
    private:
        bool stayLoop;
        SDL_Surface* screen;

        std::vector<Temel*> vRender;
        std::vector<Temel*>::iterator itRender;
        Hero* gobel;
        Tugla* tugla;
        Tugla* tugla2;


        TTF_Font* font;
        SDL_Color color;
        Direction direction;
        Uint8* keystate;
};

#endif // PLAY_H
